Skip to content

Conversation

@dscho
Copy link
Member

@dscho dscho commented Oct 1, 2024

Changes

This let's manual npx playwright test invocations pass again.

Context

When attempting to verify that #1891's deployment indeed fixed the iPhone issues, I noticed that the Playwright tests were failing in a totally unexpected location: The assumptions in the book tests do not hold true for smaller screens. Easy fix.

Note: This was not caught by the CI runs because they only test with Chrome (to avoid hefty downloads of the Firefox, Chromium and Webkit browsers, only Chrome is tested because it comes pre-installed on GitHub's hosted Actions runners).

When the Playwright tests want to verify that the translated book
versions can be navigated to, they assumed that the links were visible,
but that is only true on "big screens". On phones, for example, the
sidebar button has to be pressed first.

With this change, a manual `npx playwright test` passes again.

Note: This was not caught by the CI runs because they only test with
Chrome (to avoid hefty downloads of the Firefox, Chromium and Webkit
browsers, only Chrome is tested because it comes pre-installed on
GitHub's hosted Actions runners).

Signed-off-by: Johannes Schindelin <[email protected]>
@dscho dscho self-assigned this Oct 1, 2024
@ttaylorr ttaylorr merged commit 425f204 into git:gh-pages Oct 1, 2024
1 check passed
@dscho dscho deleted the fix-playwright-test-on-iPhone branch October 1, 2024 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants